﻿namespace DemoApp_MRU
{
    using System.Windows;

    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        private AppViewModel appVM;

        public MainWindow()
        {
            InitializeComponent();

            appVM = new AppViewModel();
            appVM.MruList.AddMRUEntry(@"C:\MyFiles\sdksjdk");
            appVM.MruList.AddMRUEntry(@"C:\MyFiles\sdksjdk\demo\demo.txt");
            appVM.MruList.AddMRUEntry(@"C:\MyFiles\sdksjdk\demo\demo2.txt");
            appVM.MruList.AddMRUEntry(@"C:\MyFiles\sdksjdk\demo\demo11.txt");
            appVM.MruList.AddMRUEntry(@"G:\MyFiles\Notes.txt");

            DataContext = appVM;
        }
    }
}
